//
//  UnderLineTextField.m
//  SDHSportsNews
//
//  Created by MichaelShan on 2021/3/11.
//

#import "UnderLineTextField.h"

@implementation UnderLineTextField

- (void)drawRect:(CGRect)rect {
    // Drawing code
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetFillColorWithColor(context, [UIColor whiteColor].CGColor);
    CGContextFillRect(context, CGRectMake(0, CGRectGetHeight(self.frame) - 0.5, CGRectGetWidth(self.frame), 0.5));
}


@end
